from zope.interface import Interface
# -*- Additional Imports Here -*-
from zope import schema

from my315ok.xtinfocontent import xtinfocontentMessageFactory as _


class Iagent(Interface):
    """medium agent information"""

    # -*- schema definition goes here -*-
    name = schema.TextLine(
        title=_(u"agent name"),
        required=False,
        description=_(u""),
    )
    qq = schema.Int(
        title=_(u"QQ number"),
        required=False,
        description=_(u""),
    )
#
    addr = schema.TextLine(
        title=_(u"agent address"),
        required=False,
        description=_(u""),
    )
#
    text = schema.SourceText(
        title=_(u"agent description"),
        required=False,
        description=_(u""),
    )
#
    group = schema.TextLine(
        title=_(u"agent group"),
        required=False,
        description=_(u""),
    )
#
    blog = schema.TextLine(
        title=_(u"blog url"),
        required=False,
        description=_(u""),
    )
#
    phone = schema.TextLine(
        title=_(u"phone number"),
        required=True,
        description=_(u""),
    )
#

#

